﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Helpers;

namespace MiniSched.Web.Abstractions {

    internal class AntiForgeryAbstraction {

        protected AntiForgeryAbstraction() { }

        public static AntiForgeryAbstraction Default { get { return _Default; } }
        private static readonly AntiForgeryAbstraction _Default = new AntiForgeryAbstraction();

        public void Validate(string cookieToken, string formToken) {
            AntiForgery.Validate(cookieToken, formToken);
        }
    }
}
